import request from '@/utils/request';


// 工单管理
export function getAllOrder() {
  return request({
    url: '/services/app/DevOpsService/GetAllOrder',
    method: 'get',
  });
}

// 油机保养
export function getDGMainTainList() {
  return request({
    url: '/services/app/DevOpsService/GetDGMainTainList',
    method: 'get',
  });
}

// 某个单独的设备数据
export function getDGMainTainByID(theid) {
  return request({
    url: '/services/app/DevOpsService/GetDGMainTainByID?id=' + theid,
    method: 'get',
  });
}

// 提交编辑后的数据
export function updateDGMainTain(dgmaintain) {
  return request({
    url: '/services/app/DevOpsService/DGMainTainUpdate',
    method: 'post',
    data: dgmaintain
  });
}



